<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <title>电影详情</title>
</head>
<body>

<h1 th:text="${session.user.userName} + '记录详情'"></h1>
<hr>
<table border="1px" align="center" width="50%">
    <tr>
        <th>电影名称</th>
        <th>发表的评论</th>
    </tr>

    <tr th:each="record : ${userRecords}">
        <td th:text="${record.filmName}"></td>
        <td th:text="${record.movieReviews}"></td>
    </tr>
</table>

<a href="javascript:history.back()" th:text="后退"></a>

</body>
</html>
